package org.fnzn.service;

import org.apache.poi.ss.formula.functions.T;
import org.fnzn.bean.FnglHouse;
import org.fnzn.core.Page;
import org.fnzn.core.Result;

import java.util.List;

public interface FnglHouseService {
    /**查询房源**/
    public Result findFnglHouse(FnglHouse fnglHouse, Page page);
    /**新增房源**/
    public Result insertFnglHouse(FnglHouse fnglHouse);
    /**修改房源**/
    public Result updateFnglHouse(FnglHouse fnglHouse);
    /**删除房源**/
    public Result deleteFnglHouse(String Id);
    /**删除多个房源**/
    public Result deleteAllFnglHouse(String Ids);
    /**根据房源id获取到房源图片**/
    public String[] getHouseImg(String houseId);
    /**根据所选项目获取到对应的房源**/
    public List<FnglHouse> getHouse(String projectId);
    public FnglHouse findById(Object id);
}